import request from '@/router/axios'

export function fetchList (query) {
  return request({
    url: '/admin/version/list',
    method: 'get',
    params: query
  })
}

export function putObj (obj) {
  return request({
    url: '/admin/version/put',
    method: 'post',
    data: obj
  })
}